package org.rpn4j.scan;

import java.util.List;

import org.rpn4j.core.Operand;
import org.rpn4j.ctx.Context;

/**
 * A {@code Scanner} scans some rpn string expression. Provides access to
 * all {@link Operand}s which could be found inside the expression.
 * 
 * @author hillger.t
 */
public interface Scanner {

  /**
   * @return
   */
  public List<Operand> get();
  
  /**
   * 
   * @param context
   */
  public void setContext(Context context);
}
